Skip to content

撤销申请单-使用申请单号

平台服务商提交申请单后需要进行撤销操作时,可调用该撤销申请单接口,仅当申请单状态为资料校验中、待账户验证、审核中、已驳回、待签约、已冻结时才允许撤销。

请求参数类型描述
applyment_idinteger微信支付申请单号
php
$instance->v3->ecommerce->applyments->_applyment_id_->revoke->postAsync([
  'applyment_id' => '2000002124775691',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/ecommerce/applyments/{applyment_id}/revoke')->postAsync([
  'applyment_id' => '2000002124775691',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/ecommerce/applyments/{applyment_id}/revoke']->postAsync([
  'applyment_id' => '2000002124775691',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->ecommerce->applyments->_applyment_id_->revoke->post([
  'applyment_id' => '2000002124775691',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/ecommerce/applyments/{applyment_id}/revoke')->post([
  'applyment_id' => '2000002124775691',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/ecommerce/applyments/{applyment_id}/revoke']->post([
  'applyment_id' => '2000002124775691',
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典类型描述
applyment_idinteger微信支付申请单号
out_request_nostring业务申请编号

参阅 官方文档

Published on the GitHub by TheNorthMemory